package org.wjw.auth.mapper;
import org.apache.ibatis.annotations.Mapper;
import org.wjw.auth.domain.Permission;
import org.wjw.base.mapper.BaseMapper;
import java.util.List;
@Mapper
public interface PermissionMapper extends BaseMapper<Permission> {

    void batchInsert(List<Permission> permissions);

    void removeAll();

    List<String> selectPermissonsByEmployeeId(Long id);

    List<Permission> getPermissionTree();

    List<String> getPermissionSns();
}
